<h1>Feeds</h1>
<a href="/users/login">Login</a> - <a href="/users/logout">Logout</a> - <a href="/users/register">Register</a> - <a href="/users/changePassword">change password</a><br>
<?php
echo 'User is logged in as '.$user;
?>
<?php foreach ($feeds as $feed): ?>
<h2>
<?php
	echo $this->Html->link($feed['Feed']['name'], '/feeds/slideshow/'.$feed['Feed']['id']);

	echo '<small> - ( '.$this->Html->link('edit', '/feeds/edit/'.$feed['Feed']['id']).' )</small>';
?>
</h2>
<p><?php echo $feed['Feed']['description'] ; ?></p>
<p><?php echo $this->Html->link($feed['Feed']['site_url'], $feed['Feed']['site_url']);?> </p>
<?php endforeach; ?>